# Contributor: Stefan Wagner <stw@bit-strickerei.de>
# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
pkgname=py3-pytest-expect
_pkgname=pytest-expect
pkgver=1.1.0
pkgrel=4
pkgdesc="A pytest plugin that stores test expectations"
options="!check" # no test suite
url="https://github.com/gsnedders/pytest-expect"
arch="noarch"
license="MIT"
depends="py3-pytest py3-u-msgpack"
makedepends="py3-setuptools"
source="$_pkgname-$pkgver.tar.gz::https://github.com/gsnedders/pytest-expect/archive/$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="dbef3c394e974663179e91ca3cd6f096fdb055693b3e540dd0f27d6bf59a5c7298144598eb069f8f0acddd82ecce0bdce14ccd25728eb6a024d41895403e5144  pytest-expect-1.1.0.tar.gz"
